﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    public class DB
    {
        public static readonly  string ConStr = System.Configuration.ConfigurationManager.AppSettings["conStr"];

        private static PersonalFinanceDataContext dataContext = new PersonalFinanceDataContext(DB.ConStr);

        public  static PersonalFinanceDataContext PersonalFinanceDB
        {
            get
            {
                
                return dataContext;
            }
        }
        
    }
}
